import type { AppRouteModule } from '@/router/types'
import { LAYOUT } from '@/router/constant'

const pastime: AppRouteModule = {
  path: '/pastime',
  name: 'Pastime',
  component: LAYOUT,
  redirect: '/pastime/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'simple-icons:about-dot-me',
    title: 'pastime',
    orderNo: 3,
  },
  children: [
    {
      path: 'index',
      name: '娱乐',
      component: () => import('@/views/pastime/index.vue'),
      meta: {
        title: 'pastime.index',
        icon: 'simple-icons:about-dot-me',
        hideMenu: true,
      },
    },
  ],
}

export default pastime
